﻿using SqlSugar;
using System;

namespace Server.Entity
{
    [SugarTable(nameof(Channel))]
    public class Channel : BaseTable
    {
        [SugarColumn(IsNullable = false, Length = 100)]
        public string Name { get; set; }

        [SugarColumn(IsNullable = true, Length = 1000)]
        public string Description { get; set; }

        [SugarColumn(IsNullable = false)]
        public Guid ProductId { get; set; }
    }
}
